import request from '@/utils/request'



export function getRecycleStatistics(date) {
    const params = date ? { date: date } : {};
    return request({
      url: '/report/getRecycleStatistics',
      method: 'post',
      params: params, // 将日期作为请求参数传递
    })

}


export function getSalesStatistics(date) {
  const params = date ? { date: date } : {};
  return request({
    url: '/report/getSalesStatistics',
    method: 'post',
    params: params, // 将日期作为请求参数传递
  })

}